package com.sl.utils;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;

public class CRM {
	
	
	

	/**
	 * 文件上传根目录
	 */	
	private static String uploadDir;
	@Autowired
	public  CRM(@Value("${storage.location}") String dir){
		CRM.uploadDir=dir;
		
	}
	public static String getUploadDir() {
		return CRM.uploadDir;
	}
	public static void setUploadDir(String uploadDir) {
		CRM.uploadDir = uploadDir;
	}

}
